/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cr.ac.una.escinf.ia.classes;

import java.util.ArrayList;
import java.util.Collections;

/**
 *
 * @author Grupo de IA - 2011
 */
public class Deck {
    
    int pos;
    
    private ArrayList<Card> cards;
    
    public Deck()
    {
      pos = 0;
      cards =  new ArrayList<Card>(52);

    }


    public ArrayList<Card> getCards() {
        return cards;
    }

    public void setCards(ArrayList<Card> cards) {
        this.cards = cards;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }
    
    public void shuffle()
    {
        Collections.shuffle(cards);
    }
    
}
